package org.bim.view.drag.design.entity;

import lombok.Getter;
import lombok.Setter;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @author bim-view
 * @date 2021/12/16 2:35 下午
 */
@Getter
@Setter
public abstract class BaseEntity implements Serializable  {
    @Id
    @KeySql(
            genId = NumGenId.class
    )
    private String id;
    private Date createTime;
    private String createUser;
    private Date updateTime;
    private String updateUser;
    private Boolean isDeleted;
}
